package com.blobfish.fiction.common.base.constant;

import com.blobfish.fiction.common.base.knowledge.IMessageEnum;

/**
 * 公共消息枚举
 * @author huangbo
 */
public enum CommonMessageEnum implements IMessageEnum {
    LOGON_FAILURE("E_COMMON_LOGON_FAILURE", "你的登录已失效，请重新登录");

    CommonMessageEnum(String id, String message) {
        this.id = id;
        this.message = message;
    }

    private final String id;
    private final String message;
    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
